package com.kanshu.ksgb.fastread.doudou.common.net.rx;

import com.kanshu.ksgb.fastread.doudou.common.net.bean.BaseResult;

import io.reactivex.functions.Function;

public class BaseResultData<T> implements Function<BaseResult<T>,T> {
    @Override
    public T apply(BaseResult<T> tBaseResult) throws Exception {
        return tBaseResult.data();
    }
}
